<%@page import="com.kaishengit.entity.Todo"%>
<%@page import="com.kaishengit.dao.TodoDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String id = request.getParameter("id");
	
	try{
		TodoDao dao = new TodoDao();
		dao.del(Integer.parseInt(id));
	} catch(Exception e) {
	
	} finally {
		response.sendRedirect("list.jsp");
	}

%>
